package com.java2104.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java2104.entity.LoginUser;
import com.java2104.entity.UserMessage;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface LoginUserMapper extends BaseMapper<LoginUser> {
    @Update("update t_user_message set balance=#{balance},delete_status=0 where id=#{id}")
    int updateUserMessage(UserMessage userMessage);
}